package com.gomore.opple.model;

import com.gomore.opple.web.common.UCN;

import java.io.Serializable;
import java.util.List;

/**
 * Created by asus on 2017/5/22.
 */
public class Action implements Serializable {
    // deductionAction 抵扣金额
    // goodsAction 赠送商品
    // WXCardAction 微信卡卷
    // JDECardAction 京东E卡
    // lotteryAction 转盘抽奖
    // redPackageAction 赠送红包
    private String type; //deductionAction",类型（抵扣金额)
    private int priority;  //优先级
    private int total;//抵扣金额或者赠送京东E卡
    private int count;//赠送数量
    private UCN goods; //赠送商品
    private boolean enable;   //是否可用(使用微信卡券)
    private ActionLottery lottery; //转盘抽奖
    private String description;//描述
    private String body;//促销对象（如consumer表示消费者、guide表示导购等）
    private String promotionBillNumber;//
    private List<String> conflicts;//促销冲突
    private boolean isSelect;//是否被选中
    private boolean isUsed;//是否已经使用

    public boolean isUsed() {
        return isUsed;
    }

    public void setIsUsed(boolean isUsed) {
        this.isUsed = isUsed;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setIsSelect(boolean isSelect) {
        this.isSelect = isSelect;
    }

    public List<String> getConflicts() {
        return conflicts;
    }

    public void setConflicts(List<String> conflicts) {
        this.conflicts = conflicts;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public UCN getGoods() {
        return goods;
    }

    public void setGoods(UCN goods) {
        this.goods = goods;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public ActionLottery getLottery() {
        return lottery;
    }

    public void setLottery(ActionLottery lottery) {
        this.lottery = lottery;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getPromotionBillNumber() {
        return promotionBillNumber;
    }

    public void setPromotionBillNumber(String promotionBillNumber) {
        this.promotionBillNumber = promotionBillNumber;
    }
}
